package com.wtf.dsp.admin.core.provider;

import com.wtf.dsp.admin.core.model.DataSourceInfo;
import com.wtf.dsp.admin.model.dto.DsAddDTO;
import com.wtf.dsp.admin.model.dto.DsDelDTO;

import javax.sql.DataSource;
import java.util.List;
import java.util.Map;

/**
 * ClassName: WtfDynamicDataSourceProvider
 * Description:
 * date: 2024/3/7 17:59
 *
 * @author linhuanyou
 * @version 1.0
 */
public interface WtfDynamicDataSourceProvider{

    List<DataSourceInfo>  loadDataSources();

    void addDataSources(DataSourceInfo dataSourceInfo);

    void removeDataSource(String ns, String ds);

}
